<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://www.sf.net/frails" prefix="fr"%>

<f:view>
	<h:form>
		<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
			<head>
				<meta http-equiv="pragma" content="no-cache" />
				<meta http-equiv="cache-control" content="no-cache" />
				<meta http-equiv="expires" content="0" />
				<link href="../css/iframe.css" rel="stylesheet" type="text/css" />
			</head>
			<body>
				<div id="container">
					<div class="titles">
						未审核 SP 用户
					</div>

					<h:dataTable value="#{$.unauthsps}" var="user" columnClasses="colClass1,colClass2" styleClass="tables">
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{$bundle.label_user_userId}" />
							</f:facet>
							<h:outputText value="#{user.userId}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{$bundle.label_user_loginName}" />
							</f:facet>
							<h:outputText value="#{user.loginName}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{$bundle.label_user_userName}" />
							</f:facet>
							<h:outputText value="#{user.userName}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{$bundle.label_user_email}" />
							</f:facet>
							<h:outputText value="#{user.email}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{$bundle.label_user_phone}" />
							</f:facet>
							<h:outputText value="#{user.phone}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{$bundle.label_user_userRole}" />
							</f:facet>
							<h:outputText value="#{user.userRole}" />
						</h:column>

						<h:column>
							<f:facet name="header">
								<h:outputText value="#{$bundle.label_auth_user}" />
							</f:facet>
							<h:commandButton action="#{$.auth}" value="#{$bundle.label_auth_user}" />
						</h:column>
					</h:dataTable>


					<!--		<h:commandButton id="aaa" value="#{$bundle.title_new}" action="#{$.create}" immediate="true" styleClass="plat" />-->

<!--					<fr:validatorScript clientValidation="true" />-->

<!--					<div class="userinformation">-->
<!--						<div>-->
<!--							<span>”√ªß–≈œ¢1</span>-->
<!--							<input class="text" type="text" />-->
<!--						</div>-->
<!--						<div>-->
<!--							<span>–≈œ¢2</span>-->
<!--							<input class="text" type="text" />-->
<!--						</div>-->
<!--						<div>-->
<!--							<input class="button" value="–ﬁ∏ƒ" type="button" />-->
<!--						</div>-->
<!--					</div>-->
				</div>
			</body>
		</html>
	</h:form>
</f:view>